package cn.tedu._06springaop.egaop;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestCart {
    public static void main(String[] args) {
            AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("cn.tedu._06springaop");
            CartService bean = context.getBean(CartService.class);
            bean.addCart("我买的ipone16promax");
    }

}
